﻿using FreeSql.DataAnnotations;
using RS.BaseModel.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseAuthRole.DTO.Role
{
    /// <summary>
    /// 权限组
    /// </summary>
   public class ActionGroup: BaseEntity
    {        
        public string Name { get; set; }

        public string ControlName { get; set; }
        public int Status { get; set; }

        public int Weight { get; set; }
        [Navigate(nameof(Action.ActionGroupId))]
        public List<Action> Actions { get; set; }
    }
}
